package com.paradogs.framework.core.annoations.tick;

import lombok.Getter;

import java.lang.reflect.Method;
import java.util.ArrayList;
import java.util.List;

/**
 * @author: yumi
 * @date: 2023/12/11  14:33
 * @Description: @PRTick 相关
 */
public class PRTickHolder {

    /**
     * 被 @PRTick 修改的方法集合，待优化：增加 order 排序
     */
    @Getter
    private static List<Method> tickMethods = new ArrayList<>();

    public static void addTickMethod(Method method) {
        tickMethods.add(method);
    }

}
